﻿using BYUStock.Comman;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BYUStock.Filter
{
    public interface IStockInfoFilter
    {
        Markets Market { get; }
        Exchanges Exchange { get; }
        /// <summary>
        /// 行业
        /// </summary>
        Industries Industry { get; }
        /// <summary>
        /// 市值
        /// </summary>
        float MarketValue { get; set; }
        /// <summary>
        /// 市盈率（净）
        /// </summary>
        float PB_J { get; set; }
        /// <summary>
        /// 市盈率（动）
        /// </summary>
        float PB_D { get; set; }
        /// <summary>
        /// 市盈率（TTM）
        /// </summary>
        float PB_TTM { get; set; }
        /// <summary>
        /// 市净率
        /// </summary>
        float PE { get; set; }
        IEnumerable<StockInfo> Filter(IEnumerable<StockInfo> stockInfos);
    }
}
